<?php

class Training {

	private $country;
	private $date;
	private $trainingtype;
	private $number;
	private $fraction;
	
	public function __construct($trainingtype, $country, $date, $number, $fraction) {
		$this->setTrainingType($trainingtype);
		$this->setCountry($country);
		$this->setDate($date);
		$this->setNumber($number);
		$this->setFraction($fraction);
	}
	
	public function getCountry() {
		return $this->country;
	}
	
	public function setCountry($country) {
		$this->country = $country;
	}
	
	public function getDate() {
		return $this->date;
	}
	
	public function setDate($date) {
		$this->date = $date;
	}
	
	public function getTrainingType() {
		return $this->trainingtype;
	}
	
	public function setTrainingType($trainingtype) {
		$this->trainingtype = $trainingtype;
	}
	
	public function getNumber() {
		return $this->number;
	}
	
	public function setNumber($number) {
		$this->number = $number;
	}
	
	public function getFraction() {
		return $this->fraction;
	}
	
	public function setFraction($fraction) {
		$this->fraction = $fraction;
	}
	
}

?>